home *** CD-ROM | disk | FTP | other *** search
/ SOHO - Exploring the Sun - 2003 Update / SOHO - Exploring the Sun - 2003 Update.iso / pc / data / main.dcr / scripts_30.ls < prev    next >
Encoding:
Text File  |  2003-02-25  |  2.0 KB  |  51 lines

  1. on prepareFrame
  2.   global y_offset
  3.   remove_nappi()
  4.   WaitCursor()
  5.   ClrCursorS()
  6.   defaultCursor(103)
  7.   defaultCursor(104)
  8.   defaultCursor(105)
  9.   defaultCursor(106)
  10.   defaultCursor(107)
  11.   set the puppet of sprite 114 to 1
  12.   set the locH of sprite 114 to 320
  13.   set the locV of sprite 114 to 439
  14.   MiinusCursor(2)
  15.   set the directToStage of member "sml_sun" to 0
  16.   if SpriteExists(110) > 0 then
  17.     set the directToStage of member the member of sprite 110 to 0
  18.   end if
  19.   if SpriteExists(113) > 0 then
  20.     set the directToStage of member the member of sprite 113 to 0
  21.   end if
  22.   set the movieRate of sprite 110 to 0
  23.   set wds to the width of member the member of sprite 113
  24.   set hgs to the height of member the member of sprite 113
  25.   set the width of sprite 113 to wds
  26.   set the height of sprite 113 to hgs
  27.   set the locH of sprite 113 to 320
  28.   set the locV of sprite 113 to 240 - y_offset
  29.   set the locH of sprite 112 to 319 - (the width of sprite 113 / 2)
  30.   set the locV of sprite 112 to 239 - (the height of sprite 113 / 2) - y_offset
  31.   set the width of sprite 112 to the width of sprite 113 + 2
  32.   set the height of sprite 112 to the height of sprite 113 + 2
  33.   set the locH of sprite 119 to the locH of sprite 112 - 8
  34.   set the locV of sprite 119 to the locV of sprite 112 + the height of sprite 112 + 7
  35.   set the locH of sprite 118 to the locH of sprite 119 + 8
  36.   set the locV of sprite 118 to the locV of sprite 119
  37.   set the width of sprite 118 to the width of sprite 112 + 1
  38.   set the locH of sprite 117 to the locH of sprite 119
  39.   set the locV of sprite 117 to the locV of sprite 119 - 8 - the height of sprite 112
  40.   set the height of sprite 117 to the height of sprite 112
  41.   set the locH of sprite 2 to the locH of sprite 113 - 15 - (the width of sprite 113 / 2)
  42.   set the locV of sprite 2 to the locV of sprite 113 - (the height of sprite 113 / 2) - y_offset
  43.   set the width of sprite 2 to the width of sprite 113 + 15
  44.   set the height of sprite 2 to the height of sprite 113 + 15
  45. end
  46.  
  47. on exitFrame
  48.   global dire
  49.   set dire to 1
  50. end
  51.